import Vue from 'vue'
import Vuex from 'vuex'
import shoppingcar from "./shoppingcar"
import address from "./address"
import pay from "./pay"
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userid: ""
  },
  mutations: {
    setUserid(state, playload) {
      state.userid = playload
    }
  },
  actions: {
  },
  modules: {
    shoppingcar,
    address,
    pay
  }
})
